| 
 | 
 | 
 | 
| SftTree Object (ISftTree Interface) | 
The SftTree object represents the SftTree/OCX control. Through its properties, additional objects can be accessed.
Properties and methods shown grayed are provided for compatibility with older releases only and should no longer be used.
| Property/Method | Description | 
| Defines whether properties are stored as a flat list in a property bag. | |
| Returns the product's exact version. | |
| Displays product, contact and copyright information. | |
| Adds a new item at the end of the list. | |
| Defines the control's border look. | |
| Defines whether the tree control expands and collapses items automatically. | |
| Defines the default background color used to draw items that are not selected. | |
| Defines the background color used to draw items in odd rows. | |
| Defines the graphic displayed as the control's background. | |
| Defines the graphic displayed as the control's background. | |
| Defines the scrolling style of the background bitmap. | |
| Defines the origin (horizontally) of the background bitmap. | |
| Defines the origin (vertically) of the background bitmap. | |
| Defines the tree control's border style used. | |
| Defines bulk update mode. | |
| Defines the expand/collapse button appearance. | |
| Defines the expand/collapse button for a collapsed parent item. | |
| Defines the expand/collapse button for a collapsed parent item when the expand/collapse button is pressed. | |
| Defines the expand/collapse button for a collapsed parent item when the mouse cursor is over the expand/collapse button. | |
| Defines the expand/collapse button image for an expanded parent item. | |
| Defines the expand/collapse button image for an expanded parent item when the expand/collapse button is pressed. | |
| Defines the expand/collapse button image for an expanded parent item when the mouse cursor is over the expand/collapse button. | |
| Defines the graphic used to display expand/collapse buttons. | |
| Defines the graphic used to display expand/collapse buttons. | |
| Defines the expand/collapse button display method. | |
| Returns the item index and column number for given coordinates. | |
| Returns the item index and column number for given coordinates. | |
| Returns the column number for given coordinates. | |
| Returns the column number for given coordinates. | |
| Returns the item index for given coordinates. | |
| Returns the item index for given coordinates. | |
| Defines the maximum number of items to consider for optimal column width and scrolling calculation. | |
| Calculates a column's optimal width based on the column contents. | |
| Calculates the row header's optimal width based on the contents of all row headers. | |
| Defines whether only visible items are considered for optimal column width and scrolling calculation. | |
| Cancels internal modes. | |
| Returns a SftTreeCell object for a given item/column. | |
| Defines whether cells are painted using a 3D effect. | |
| Defines the background color used to draw an item's cell that is not selected. | |
| Defines keystrokes to be intercepted during cell editing (using the EditNavigating event). | |
| Defines the maximum number of characters in an edit control or combo box during cell editing. | |
| Defines the cell editing display style. | |
| Defines whether the application handles cell editing events. | |
| Defines the font used to display an item's cell text. | |
| Defines the text color used to draw an item's cell that is not selected. | |
| Defines a cell's application specific value. | |
| Defines a cell's application specific string value. | |
| Defines the graphic displayed as an item's cell graphic. | |
| Defines the position of the graphic displayed in an item's cell. | |
| Defines the graphic displayed as an item's cell graphic. | |
| Defines the background color used to draw an item's cell that is selected. | |
| Defines the text color used to draw an item's cell that is selected. | |
| Defines an item's cell text. | |
| Defines the position of the text displayed in an item's cell. | |
| Defines the column searched for characters typed by the user. | |
| Defines the search mode for characters typed by the user. | |
| Removes all items. | |
| Removes the cell graphics from all items. | |
| Removes the item graphics from all items. | |
| Removes the label graphics from all items. | |
| Removes the row header graphics from all items. | |
| Defines the appearance of all column headers. | |
| Defines the background color for all column headers. | |
| Defines the currently pressed column header button. | |
| Defines whether the specified column header is enabled. | |
| Defines the font used for all column headers. | |
| Defines the text color for all column headers. | |
| Defines the text color used to draw all disabled column headers. | |
| Defines the color used to draw the highlighted edge of all column headers. | |
| Defines the color used to draw the dark edge of all column headers. | |
| Collapses an item so its dependents are no longer visible. | |
| Returns a SftTreeColumn object for a given column. | |
| Defines the background color of cells in the specified column. | |
| Defines whether the specified column header button will return to its "up" position when pressed. | |
| Defines the text color of cells in the specified column. | |
| Defines the minimum width of the specified column. | |
| Defines the graphic displayed in the specified column header. | |
| Defines the position of the graphic displayed in the specified column header. | |
| Defines the graphic displayed in a column header. | |
| Defines the number of columns. | |
| Defines the background color of selected items in the specified column. | |
| Defines the text color of selected items in the specified column. | |
| Returns the SftTreeColumns object. | |
| Defines the cell style in the specified column. | |
| Defines a column header's text. | |
| Defines a column header's text style. | |
| Defines the width of the specified column. | |
| Copies an item to a new position in the tree control. | |
| Defines whether the Item.DataString property is copied or moved with an item. | |
| Copies items to a new position in the tree control. | |
| Defines whether multiple columns can be resized in one resizing operation. | |
| Defines optional product customization. | |
| Deletes an item's dependents. | |
| Deletes a GDI+ image object. | |
| Returns an item's number of dependents. | |
| Returns an ISftTreeVTable interface pointer. | |
| Returns the display column number given a real column number. | |
| Defines whether a semi-transparent image is used to represent the data being dragged. | |
| Defines how drag & drop is implemented. | |
| Defines the method that determines when a drag & drop operation starts. | |
| Defines the index of the current drop target of a drag & drop operation. | |
| Defines the color used to display the drop target item of a drag & drop operation. | |
| Defines the style used to display the drop target of a drag & drop operation. | |
| Returns the column of the cell currently being edited. | |
| Returns the index of the cell currently being edited. | |
| Positions cell editing on another cell. | |
| Defines whether the tree control responds to user-generated events. | |
| Ends cell editing. | |
| Expands an item so its dependents become visible. | |
| Searches the Data property of items. | |
| Searches the DataString property of items. | |
| Searches items for a string. | |
| Searches items for a string using an exact match. | |
| Returns the index of an item's first dependent. | |
| Returns the index of the first displayed column. | |
| Returns the index of the first displayed column in the right pane. | |
| Returns the index of an item's first sibling item. | |
| Defines whether items are underlined as the mouse cursor moves over an item. | |
| Defines the default font used to display cell text. | |
| Returns a SftTreeFooter object for a given column. | |
| Returns the SftTreeFooters object. | |
| Defines the default text color used to draw items that are not selected. | |
| Defines the text color used to draw items in odd rows. | |
| Returns whether GDI+ support is available. | |
| Defines the color sample displayed as an item's cell graphic. | |
| Returns the position of the selection during cell editing. | |
| Defines the graphic displayed as an item's cell graphic. | |
| Returns the coordinates of a cell's graphic component. | |
| Returns the coordinates of a cell's graphic component. | |
| Returns the coordinates of a cell. | |
| Returns the coordinates of a cell. | |
| Returns the coordinates of a cell's text component. | |
| Returns the coordinates of a cell's text component. | |
| Returns the coordinates of a column header. | |
| Returns the coordinates of a column header. | |
| Defines the graphic displayed as an item's item graphic. | |
| Returns the coordinates of an item. | |
| Returns the coordinates of an item. | |
| Returns the index of the next visible item. | |
| Returns the index of the previous visible item. | |
| Returns the coordinates of the splitter bar. | |
| Returns the coordinates of the splitter bar. | |
| Defines the text color used to draw items that are disabled. | |
| Defines the color used to draw horizontal grid lines. | |
| Defines the method used to paint grid lines. | |
| Defines the color used to draw vertical grid lines. | |
| Defines whether the control accepts and handles the RETURN key. | |
| Returns a SftTreeHeader object for a given column. | |
| Returns the SftTreeHeaders object. | |
| Defines the color used to draw the highlighted edge of items. | |
| Returns the index of the item found at given coordinates. | |
| Returns the index of the item found at given coordinates. | |
| Defines the current horizontal scrolling extent. | |
| Defines the current horizontal scrolling extent in the right pane. | |
| Defines the current horizontal scrolling offset. | |
| Defines the current horizontal scrolling offset in the right pane. | |
| Returns the tree control's window handle. | |
| Defines whether the area left of the first cell inherits the cell's background color. | |
| Inserts a new item. | |
| Vertically resizes the tree control so visible items are displayed in their entirety. | |
| Returns a SftTreeItem object for a given item. | |
| Defines an item's application specific value. | |
| Defines an item's application specific floating point value. | |
| Defines an item's application specific object. | |
| Defines an item's application specific string value. | |
| Defines an application defined value associated with an item. | |
| Defines the font used for cell editing. | |
| Defines whether an item is expandable. | |
| Defines an item and all its dependents as expanded or collapsed. | |
| Returns the height of one item in the tree control. | |
| Returns the height of an item in the tree control. | |
| Returns the item ID of an item. | |
| Returns the item index given an item ID. | |
| Defines an item's level number. | |
| Defines the number of text lines used for item height calculation. | |
| Defines the graphic displayed as the item's item graphic. | |
| Defines whether item graphics are aligned with higher level cells. | |
| Defines the default graphic used to display an expandable item's item graphic. | |
| Defines the default graphic used to display an expandable item's item graphic. | |
| Defines the default graphic used to display an expanded item's item graphic. | |
| Defines the default graphic used to display an expanded item's item graphic. | |
| Defines the graphic displayed as the item's item graphic. | |
| Defines the default graphic used to display a leaf item's item graphic. | |
| Defines the default graphic used to display a leaf item's item graphic. | |
| Returns the SftTreeItems object. | |
| Defines whether an item is shown. | |
| Returns the number of completely and partially visible items in the client area. | |
| Returns the number of completely visible items in the client area. | |
| Defines an item's enabled/disabled status. | |
| Defines the item style. | |
| Defines the graphic displayed as an item's label graphic. | |
| Defines the graphic displayed as an item's label graphic. | |
| Returns the index of an item's last dependent. | |
| Returns the index of the last displayed column. | |
| Returns the index of the last displayed column in the right pane. | |
| Returns the index of an item's last sibling item. | |
| Defines whether the tree control responds only to the left mouse button. | |
| Defines whether the tree control generates Item(Dbl)Click events only in response to the left mouse button. | |
| Returns the window handle of the left pane in a split tree control. | |
| Returns the product's license number. | |
| Defines an item's cell text. | |
| Returns the number of items in the tree control. | |
| Defines the current item (caret location). | |
| Returns the selected item. | |
| Returns the selected item. | |
| Loads the control contents. | |
| Loads a GDI+ image from a file. | |
| Loads a GDI+ image from a resource. | |
| Loads a picture from a file/URL. | |
| Horizontally and vertically scrolls the specified cell into view so it is displayed in the tree control's client area. | |
| Sets the optimal column width so that the text and graphics of all items can be displayed. | |
| Horizontally scrolls the specified column into view so it is displayed in the tree control's client area. | |
| Vertically resizes the tree control so visible items are displayed in their entirety. | |
| Vertically resizes the tree control so visible items are displayed in their entirety. | |
| Sets the optimal row header width so that the text and graphics of all row headers can be displayed. | |
| Vertically scrolls the specified item into view so it is displayed in the tree control's client area. | |
| Positions the splitter bar optimally. | |
| Defines a custom mouse icon. | |
| Defines a custom mouse icon. | |
| Defines the transition effects used when the mouse enters/leaves the tree control. | |
| Defines the mouse pointer used. | |
| Moves a column to a new position. | |
| Moves an item to a new position in the tree control. | |
| Moves items to a new position in the tree control. | |
| Defines whether column header titles can consist of multiple text lines. | |
| Defines whether one or multiple items can be selected at a time. | |
| Returns the index of an item's next sibling item. | |
| Defines the display style of selected items when the tree control does not have the input focus. | |
| Defines whether the selection changes when the caret location changes. | |
| Initiates an OLE drag & drop operation. | |
| Defines whether the tree control can act as an OLE drop target. | |
| Defines whether the last column is open-ended. | |
| Defines whether the last column is open-ended in the right pane. | |
| Returns the width of the area added to the first column for hierarchical graphics components. | |
| Returns the index of an item's parent item. | |
| Defines the graphic used to display an expandable item's plus/minus graphic. | |
| Defines the graphic used to display an expandable item's plus/minus graphic. | |
| Defines the graphic used to display an expanded item's plus/minus graphic. | |
| Defines the graphic used to display an expanded item's plus/minus graphic. | |
| Defines the graphic used to display a leaf item's plus/minus graphic. | |
| Defines the graphic used to display a leaf item's plus/minus graphic. | |
| Returns the index of an item's previous sibling item. | |
| Returns the real column number given a display column number. | |
| Recalculates the optimal horizontal scrolling extent. | |
| Forces an immediate repaint of the tree control. | |
| Removes an item. | |
| Defines whether columns can be reordered using column drag & drop. | |
| Returns the column number currently being resized. | |
| Defines whether column headers can be resized by the user. | |
| Defines the display direction and visual appearance on a bi-directional system. | |
| Returns the window handle of the right pane in a split tree control. | |
| Defines the row header background color used to draw the item when it is not selected. | |
| Defines whether the row/column button is currently down (pressed). | |
| Defines whether the row/column button will return to its "up" position when pressed. | |
| Defines the row/column header's appearance. | |
| Defines the row/column header's background color. | |
| Defines whether the row/column header is enabled. | |
| Defines the row/column header's text color. | |
| Defines the text color used to draw a disabled row/column header. | |
| Defines the color used to draw the highlighted edge of the row/column header. | |
| Defines the color used to draw the dark edge of the row/column header. | |
| Defines the graphic displayed in the row/column header. | |
| Defines the position of the graphic displayed in the row/column header. | |
| Defines the graphic displayed in the row/column header. | |
| Defines the text displayed in the row/column header. | |
| Defines the style used to display the row/column header text. | |
| Returns the SftTreeRowColumnFooter object. | |
| Returns the SftTreeRowColumnHeader object. | |
| Defines the row header text color used to draw the item when it is not selected. | |
| Defines the row header appearance. | |
| Defines the default background color used to draw row headers of items that are not selected. | |
| Defines whether row header buttons will return to their "up" position when pressed. | |
| Defines whether row headers are enabled. | |
| Defines the row header font. | |
| Defines the default text color used to draw row headers of items that are not selected. | |
| Defines the text color used to draw disabled row headers. | |
| Defines the default color used to draw the highlighted edge of row headers. | |
| Defines the number of row header text lines used for height calculation. | |
| Returns the SftTreeRowHeaders object. | |
| Defines the default row header background color used to draw items that are selected. | |
| Defines the default row header text color used to draw items that are selected. | |
| Defines the default color used to draw the dark edge of row headers. | |
| Defines the default alignment for row header text. | |
| Defines the width of the row header area. | |
| Defines the graphic displayed in an item's row header. | |
| Defines the position of the graphic displayed in an item's row header. | |
| Defines the graphic displayed in an item's row header. | |
| Defines the row header background color used to draw the item when it is selected. | |
| Defines the row header text color used to draw the item when it is selected. | |
| Defines an item's row header text. | |
| Defines the position of the text displayed in an item's row header. | |
| Saves the control contents. | |
| Defines the presence of horizontal and vertical scroll bars. | |
| Defines the appearance of the scroll bars. | |
| Defines whether ScrollTips are shown. | |
| Returns the number of currently selected items. | |
| Defines the background color used to draw selected items. | |
| Defines the background color used to draw selected items when the control doesn't have the input focus. | |
| Defines whether an item is selected. | |
| Defines the text color used to draw selected items. | |
| Defines the text color used to draw selected items when the control doesn't have the input focus. | |
| Defines the area where selection changes occur. | |
| Returns the index of the last selected item in a group of selected items. | |
| Returns the number of groups of selected items. | |
| Returns the index of the first selected item in a group of selected items. | |
| Selects or deselects a range of items. | |
| Defines the display style of selected items when the tree control has the input focus. | |
| Defines the color sample displayed as an item's cell graphic. | |
| Sets the position of the selection during cell editing. | |
| Defines the graphic displayed as an item's cell graphic. | |
| Defines the graphic displayed as an item's item graphic. | |
| Defines the color used to draw the dark edge of items. | |
| Defines whether the focus rectangle is displayed. | |
| Defines whether text is clipped or truncated using trailing '...'. | |
| Defines whether items are scrolled pixel by pixel (for small scrolling increments only). | |
| Sorts an item's dependents. | |
| Defines the number of columns displayed in the left pane of a split tree control. | |
| Returns the SftTreeSplitter object. | |
| Defines whether a vertical splitter bar is present. | |
| Defines the horizontal offset of the splitter bar in a split tree control. | |
| Allows the user to resize the panes of a split tree control using the keyboard. | |
| Defines the width of the splitter bar. | |
| Starts editing the specified cell using a combo box. | |
| Starts editing the specified cell using a combo box with edit capability. | |
| Starts editing the specified cell using an edit control. | |
| Defines whether ToolTips are shown, even if cell text is completely visible. | |
| Defines the background color used to draw ToolTips and ScrollTips. | |
| Defines the text color used to draw ToolTips and ScrollTips. | |
| Defines the delay (in milliseconds) after which ToolTips are removed. | |
| Defines the delay (in milliseconds) after which ToolTips are displayed. | |
| Defines whether ToolTips use the entire cell. | |
| Defines the index of the first item displayed in the tree control's client area. | |
| Returns the index of an item's top-most parent item. | |
| Defines the color used to draw connecting tree lines when the tree control is enabled. | |
| Defines the color used to draw connecting tree lines when the tree control is disabled. | |
| Defines the current tree line display style. | |
| Defines whether Windows themes are used (Windows XP and up). | |
| Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics. | |
| Returns the product's exact version. | |
| Defines the number of items in the control in virtual mode. | |
| Defines the maximum graphics sizes when using a virtual data source. | |
| Notifies the control that one or all items of the virtual data source have changed. | |
| Defines whether the tree control is in virtual mode. | |
| Defines the maximum graphics sizes when using a virtual data source. | |
| Defines the license information for use on one web site. | 
Properties and methods shown grayed are provided for compatibility with older releases only and should no longer be used.
See Also Object Hierarchy